package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.mapper.BizQuestionCollectMapper;
import com.snail.model.pojo.BizQuestion;
import com.snail.model.pojo.BizQuestionCollect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Monica
* @description 针对表【biz_question_collect(用户收藏题表)】的数据库操作Service
* @createDate 2025-07-16 10:22:25
*/
@Service
public interface BizQuestionCollectService extends IService<BizQuestionCollect> {

    boolean addQuestionToCollect(BizQuestionCollect collect);

    boolean removeQuestionFromCollect(Integer questionId, Integer collectId);

    List<BizQuestion> getQuestionsInCollect(Integer collectId);

}
